package cn.niit.letuseatdemo.entity.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *用户订单表
 * @Author: JinNa ToDo
 * @Date: 2022/11/06/16:52
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserOrder extends BaseEntity {
//    当前是对象，所以需要用大写的变量表示

    //订单Id
    private Integer orderId;
//    菜品id
    private Long goodsId;
    //用户id
    private Long userId;
//    用户姓名
    private String userName;
    //订单状态： 1待付款，2待派送，3已派送，4已完成，5已取消
    private Long orderStatus;
//    订单图片
    private String orderIcon;
    //订单创建时间
    private Date createTime;
    //订单完成时间
    private Date finishTime;

}
